package com.example.demo.adapter;

/**
 * @Description
 * @Author youxin
 * @Version V1.0.0
 * @Since 1.0
 * @Date 2022/1/11
 */
public class Client {
    public static void main(String[] args) {
        Phone phone=new Phone();
        phone.charing(new VoltageAdapter(new Voltage220v()));
    }
}
